package ua.edu.nuos.jeetraining2012.automator.translator.vo.element.bpmn2;

import ua.edu.nuos.jeetraining2012.automator.translator.vo.element.bpmn2.processes.elements.*;

import javax.xml.bind.annotation.XmlElement;

/**
 * JEE Training 2012-2013.
 *
 * @author Alexandr Dibrivny
 *         Date: 30.06.13
 *         Time: 18:32
 */
public class Processes {
    private Documentation documentation;
    private SequenceFlow sequenceFlow;
    private StartEvent startEvent;
    private ServiceTask serviceTask;
    private EndEvent endEvent;

    public Documentation getDocumentation() {
        return documentation;
    }

    @XmlElement(name = "documentation")
    public void setDocumentation(Documentation documentation) {
        this.documentation = documentation;
    }

    public SequenceFlow getSequenceFlow() {
        return sequenceFlow;
    }

    @XmlElement(name = "sequenceFlow")
    public void setSequenceFlow(SequenceFlow sequenceFlow) {
        this.sequenceFlow = sequenceFlow;
    }

    public StartEvent getStartEvent() {
        return startEvent;
    }

    @XmlElement(name = "startEvent")
    public void setStartEvent(StartEvent startEvent) {
        this.startEvent = startEvent;
    }

    public ServiceTask getServiceTask() {
        return serviceTask;
    }

    @XmlElement(name = "serviceTask")
    public void setServiceTask(ServiceTask serviceTask) {
        this.serviceTask = serviceTask;
    }

    public EndEvent getEndEvent() {
        return endEvent;
    }

    @XmlElement(name = "endEvent")
    public void setEndEvent(EndEvent endEvent) {
        this.endEvent = endEvent;
    }
}
